<?php


namespace app\model;


use think\Model;

class UserMenu extends Model
{
    protected $connection = 'mysql';

    protected $pk = 'id';

    protected $name = 'user_menu';

    public static $mo = [
        'order'=>'订单中心',
        'function'=>'所有功能',
        'tool'=>'常用工具',
        'admin'=>'后台入口'
    ];

    public static $plugins = [
        'contact'=>'客服服务',
        'tel'=>'客服电话',
        'privacy'=>'用户隐私',
        'aboutus'=>'关于我们'
    ];

    public static function getMoTitle($key){
        return self::$mo[$key];
    }
}
